package com.master_jpeg.layoutmng;

import javax.swing.*;
import java.awt.*;

/**
 * менеджер интерфейсов верхнего уровня
 */
public class AbstractLayoutManager implements LayoutManager {

    private JWindow mainWindow;


    @Override
    public void addLayoutComponent(String name, Component comp) {

    }

    @Override
    public void removeLayoutComponent(Component comp) {

    }

    @Override
    public Dimension preferredLayoutSize(Container parent) {
        return null;
    }

    @Override
    public Dimension minimumLayoutSize(Container parent) {
        return null;
    }

    @Override
    public void layoutContainer(Container parent) {

    }

    public Container getMainFrame() {
        return mainWindow;
    }

    public void setMainFrame(Container mainWindow) {
        this.mainWindow = (JWindow) mainWindow;
    }
}
